<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FIRST LEGO League na Slovensku - FLL na Slovensku</title>
<base href="http://www.fll.sk/" />
<link href="http://kempelen.ii.fmph.uniba.sk/letnaliga/styles.css" rel="stylesheet" type="text/css" />
</head>
    <body>
        <script src="http://kempelen.ii.fmph.uniba.sk/letnaliga/js/tinymce/tinymce.min.js"></script>
        <script type="text/javascript">
        tinymce.init({
            selector: "textarea",
            toolbar: "undo redo | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent"
        });
        </script>
        <h2>Editor riešenia</h2>
        <?php echo form_open('solution_control/index/'.$mid);?>
            <textarea id="solution" name="solution"><?php if(!($content == FALSE)) {echo $content->content; } ?></textarea>
            </p>
            <?php echo form_submit('zadanie', 'Odošli riešenie'); ?>
        </form>
        <?php if (isset($error)){ echo '<p>'.$error.'</p>'; } ?>
    </body>

</html>
